package com.ruoyi.t;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * @author cql
 */
public interface IRemoteMath extends Remote {

    // 所有方法必须抛出RemoteException

    public double add(double a, double b) throws RemoteException;

    public double subtract(double a, double b) throws RemoteException;

}